/*
 * @Description:行业
 * @Author: iamsmiling
 * @Date: 2021-06-07 12:43:46
 * @LastEditTime: 2021-06-08 06:34:46
 */
class IndustryEntity {
  late String name;

  int id = -1;

  late List<IndustryEntity> children;

  IndustryEntity.fromJson(Map json);

  IndustryEntity({required this.name});

  IndustryEntity.sample1() {
    name = "金融业";
    children = [IndustryEntity(name: "房地产业/建筑业")];
  }
  IndustryEntity.sample() {
    name = "IT/互联网";

    children = [
      IndustryEntity(name: "工具软件"),
      IndustryEntity(name: "企业级软件"),
      IndustryEntity(name: "IT系统集成/软件"),
      IndustryEntity(name: "云计算/大数据"),
      IndustryEntity(name: "电子商务"),
      IndustryEntity(name: "新零售"),
      IndustryEntity(name: "互联网金融"),
      IndustryEntity(name: "游戏开发/运营"),
      IndustryEntity(name: "智能硬件"),
      IndustryEntity(name: "社交网络"),
    ];
  }
}
